#!/bin/sh

if command -v zzz >/dev/null; then
	zzz "$@"
elif loginctl suspend --dry-run 2>/dev/null; then
	loginctl suspend
else
	echo 'mem' > /sys/power/state
fi
